package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author gao-lf
 * @version 1.0
 * @date 2021/12/19 0019 23:19
 * @description
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PageVo {

    /**
     * 每页显示条数，默认 10
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long size = 10L;

    /**
     * 当前页，默认1
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long current = 1L;
}
